<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@page contentType="text/html; charset=UTF-8" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>NYTalk  Disk 登陆</title>

        <spring:url value="/resources/core/css/bootstrap.min.css"
                    var="assets"/>
        <link href="${assets}" rel="stylesheet"/>
        
        <spring:url value="/resources/core/css/font-awesome.min.css"
                    var="min"/>
        <link href="${min}" rel="stylesheet"/>

        <spring:url value="/resources/core/css/form-elements.css"
                    var="assetsCss"/>
        <link href="${assetsCss}" rel="stylesheet"/>
        
        <spring:url value="/resources/core/css/style.css"  
        			var="assetsStyle"/>
        <link href="${assetsStyle}" rel="stylesheet"/>

        <spring:url value="/resources/core/images/favicon.png"
                    var="icon"/>
        <link href="${icon}" rel="icon"/>

        <spring:url value="/resources/core/images/apple-touch-icon-144-precomposed.png"
                    var="assets1"/>
        <link href="${assets1}" rel="icon" sizes="144x144" />

        <spring:url value="/resources/core/images/apple-touch-icon-114-precomposed.png"
                    var="assets2"/>
        <link href="${assets2}" rel="icon" sizes="144x144" />

        <spring:url value="/resources/core/images/apple-touch-icon-72-precomposed.png"
                    var="assets3"/>
        <link href="${assets3}" rel="icon" sizes="72x72"/>

        <spring:url value="/resources/core/images/apple-touch-icon-57-precomposed.png"
                    var="assets4"/>
        <link href="${assets4}" rel="icon"/>
        
        
    

    </head>

    <body>
    <%
        String message = (String) request.getSession().getAttribute("message");
        if ("".equals(message) || null == message) {
            message = "";
        }
    %>
        <!-- Top content -->
        <div class="top-content">
        	
            <div class="inner-bg">
                <div class="container">
                    <div class="row">
                        <div class="col-sm-6 col-sm-offset-3 form-box">
                        	<div class="form-top">
                        		<div class="form-top-left">
                        			<h3>NYTalk Disk Login</h3>
                            		<p>Enter your username and password to log on:</p>
                                    <p><a style="color: red;"><h3><%=message%></h3></a></p>
                        		</div>
                        		<div>

                        		</div>
                            </div>
                            <div class="form-bottom">
			                    <form role="form" action="${pageContext.request.contextPath}/user/login" method="post" class="login-form">
			                    	<div class="form-group">			                    
			                        	<input type="text" name="userName" placeholder="Username..." class="form-username form-control" id="form-username">
			                        </div>
			                        <div class="form-group">
			                        	<input type="password" name="password" placeholder="Password..." class="form-password form-control" id="form-password">
			                        </div>
			                        <button type="submit" class="btn">Sign in!</button>
			                    </form>
		                    </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>


      <script src="<c:url value="/resources/core/js/jquery.backstretch.min.js" />"></script>
    <script src="<c:url value="/resources/core/js/scripts.js" />"></script>
    <script src="<c:url value="/resources/core/js/jquery-3.1.1.min.js" />"></script>
    <script src="<c:url value="/resources/core/js/bootstrap.min.js" />"></script>

    </body>
</html>